//消耗品类型页面数据存放
const state = {
	datas:'aaa'

};
const actions = {
	 someAction ({ dispatch, commit, getters, rootGetters }){
	 	 dispatch('outtest', null, { root: true })//局部化的模块访问全局的actions方法
	 }
	  //在组件调用此方法：console.log(this.$store.dispatch('expendType/someAction'))

};
const mutations = {
	test(){
		console.log('test')
	}
	//在组件调用此方法：console.log(this.$store.commit('expendType/test'))

}
const  getters= {

};
export default {
	namespaced: true,//此属性将getters,actions,mutations局部化
    state,
    actions,
    mutations,
    getters
}